﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 游戏管理类
/// </summary>
public class GamePlayManager : MonoBehaviour {

    private static GamePlayManager m_manager;

    public static GamePlayManager GetInstance()
    {

        return m_manager;

    }

    /// <summary>
    /// 游戏第一次运行执行脚本
    /// </summary>
    void Awake()
    {

        m_manager = this;

        GameObject.DontDestroyOnLoad(gameObject);

    }

	// Use this for initialization
	void Start () {
		
	}
	
	// Update is called once per frame
	void Update () {
		
	}
}
